import 'package:Smart/pages/productor003/studytest/pages/homepage.dart';
import 'package:Smart/res/colors_res.dart';
import 'package:Smart/utils/routers/page_jump_service.dart';
import 'package:flutter/material.dart';

class StudyMain003 extends StatefulWidget {
  final String name;
  StudyMain003(this.name);

  @override
  _StudyMain003 createState() => _StudyMain003();
}

class _StudyMain003 extends State<StudyMain003> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        leading: GestureDetector(
          onTap: () {
            PageJumpService.instance().goBack();
          },
          child: Icon(
            Icons.arrow_back_ios,
            size: 20,
            color: Color(0XFF231815),
          ),
        ),
        backgroundColor: ColorsRes.color_ffffff,
        title: Text(
          "${widget.name}- 学习练习",
          style: TextStyle(color: ColorsRes.color_000000),
        ),
      ),
      body: MyHomePage(),
    );
  }
}
